// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import echarts from 'echarts'
import axios from 'axios'
import VueAxios from 'vue-axios'
import { Swipe, SwipeItem } from 'vant';
import { Lazyload } from 'vant';
import { Circle } from 'vant';
import 'vant/lib/index.css';
// import 'vant/lib/SwipeItem/style';

// options 为可选参数，无则不传
Vue.use(Lazyload);
Vue.use(Circle);
Vue.use(Swipe).use(SwipeItem);
Vue.prototype.$axios=axios
Vue.prototype.$echarts=echarts
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
